import request from '@/utils/request'

// 发布提示词
export function publishPrompt(data) {
  return request({
    url: '/agent/prompt',
    method: 'post',
    data: data
  })
}

// 获取智能体提示词
export function getAgentPrompt(agentId) {
  return request({
    url: '/agent/prompt/' + agentId,
    method: 'get'
  })
}